package com.yunmang.entity.ParameterEntity;

import java.util.List;

/**
 * Created by Administrator on 2017/5/9.
 */
public class ConfirmBean {

    /**
     * code : 200
     * message :
     * model : {"items":[{"id":451,"hdbh":"117128000537","billDate":"2017-05-08T00:00:00","goodsName":"TFS","shipper":"李牧","shipperPhone":"15214272881","consignee":"白居易","consigneePhone":"13864021879","pack":"袋","numbers":283,"balanceMethod":"月结","transportCost":447,"goodsCost":5050,"weight":87,"cubage":4,"displayStatus":"从开封分公司发车到郑州分拨中心","startDepartName":"开封分公司","sendDate":"2017-05-08T17:21:56","batchBillId":385}],"total":1,"pageSize":200,"page":1,"summary":{"billCount":1,"numbers":283,"transportCostTotal":447,"goodsCostTotal":5050,"weightTotal":87,"cubageTotal":4}}
     */

    private int code;
    private String message;
    /**
     * items : [{"id":451,"hdbh":"117128000537","billDate":"2017-05-08T00:00:00","goodsName":"TFS","shipper":"李牧","shipperPhone":"15214272881","consignee":"白居易","consigneePhone":"13864021879","pack":"袋","numbers":283,"balanceMethod":"月结","transportCost":447,"goodsCost":5050,"weight":87,"cubage":4,"displayStatus":"从开封分公司发车到郑州分拨中心","startDepartName":"开封分公司","sendDate":"2017-05-08T17:21:56","batchBillId":385}]
     * total : 1
     * pageSize : 200
     * page : 1
     * summary : {"billCount":1,"numbers":283,"transportCostTotal":447,"goodsCostTotal":5050,"weightTotal":87,"cubageTotal":4}
     */

    private ModelBean model;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public ModelBean getModel() {
        return model;
    }

    public void setModel(ModelBean model) {
        this.model = model;
    }

    public static class ModelBean {
        private int total;
        private int pageSize;
        private int page;
        /**
         * billCount : 1
         * numbers : 283
         * transportCostTotal : 447
         * goodsCostTotal : 5050
         * weightTotal : 87
         * cubageTotal : 4
         */

        private SummaryBean summary;
        /**
         * id : 451
         * hdbh : 117128000537
         * billDate : 2017-05-08T00:00:00
         * goodsName : TFS
         * shipper : 李牧
         * shipperPhone : 15214272881
         * consignee : 白居易
         * consigneePhone : 13864021879
         * pack : 袋
         * numbers : 283
         * balanceMethod : 月结
         * transportCost : 447
         * goodsCost : 5050
         * weight : 87
         * cubage : 4
         * displayStatus : 从开封分公司发车到郑州分拨中心
         * startDepartName : 开封分公司
         * sendDate : 2017-05-08T17:21:56
         * batchBillId : 385
         */

        private List<ItemsBean> items;

        public int getTotal() {
            return total;
        }

        public void setTotal(int total) {
            this.total = total;
        }

        public int getPageSize() {
            return pageSize;
        }

        public void setPageSize(int pageSize) {
            this.pageSize = pageSize;
        }

        public int getPage() {
            return page;
        }

        public void setPage(int page) {
            this.page = page;
        }

        public SummaryBean getSummary() {
            return summary;
        }

        public void setSummary(SummaryBean summary) {
            this.summary = summary;
        }

        public List<ItemsBean> getItems() {
            return items;
        }

        public void setItems(List<ItemsBean> items) {
            this.items = items;
        }

        public static class SummaryBean {
            private int billCount;
            private int numbers;
            private Double transportCostTotal;
            private Double goodsCostTotal;
            private Double weightTotal;
            private Double cubageTotal;

            public int getBillCount() {
                return billCount;
            }

            public void setBillCount(int billCount) {
                this.billCount = billCount;
            }

            public int getNumbers() {
                return numbers;
            }

            public void setNumbers(int numbers) {
                this.numbers = numbers;
            }

            public Double getTransportCostTotal() {
                return transportCostTotal;
            }

            public void setTransportCostTotal(Double transportCostTotal) {
                this.transportCostTotal = transportCostTotal;
            }

            public Double getGoodsCostTotal() {
                return goodsCostTotal;
            }

            public void setGoodsCostTotal(Double goodsCostTotal) {
                this.goodsCostTotal = goodsCostTotal;
            }

            public Double getWeightTotal() {
                return weightTotal;
            }

            public void setWeightTotal(Double weightTotal) {
                this.weightTotal = weightTotal;
            }

            public Double getCubageTotal() {
                return cubageTotal;
            }

            public void setCubageTotal(Double cubageTotal) {
                this.cubageTotal = cubageTotal;
            }
        }

        public static class ItemsBean {

            @Override
            public String toString() {
                return "ItemsBean{" +
                        "id=" + id +
                        ", hdbh='" + hdbh + '\'' +
                        ", billDate='" + billDate + '\'' +
                        ", goodsName='" + goodsName + '\'' +
                        ", shipper='" + shipper + '\'' +
                        ", shipperPhone='" + shipperPhone + '\'' +
                        ", consignee='" + consignee + '\'' +
                        ", consigneePhone='" + consigneePhone + '\'' +
                        ", pack='" + pack + '\'' +
                        ", numbers=" + numbers +
                        ", balanceMethod='" + balanceMethod + '\'' +
                        ", transportCost=" + transportCost +
                        ", goodsCost=" + goodsCost +
                        ", weight=" + weight +
                        ", cubage=" + cubage +
                        ", displayStatus='" + displayStatus + '\'' +
                        ", startDepartName='" + startDepartName + '\'' +
                        ", sendDate='" + sendDate + '\'' +
                        ", batchBillId=" + batchBillId +
                        ", isSelect=" + isSelect +
                        ", saomiaonum='" + saomiaonum + '\'' +
                        '}';
            }

            private int id;
            private String hdbh;
            private String billDate;
            private String goodsName;
            private String shipper;
            private String shipperPhone;
            private String consignee;
            private String consigneePhone;
            private String pack;
            private int numbers;
            private String balanceMethod;
            private Double transportCost;
            private Double goodsCost;
            private Double weight;
            private Double cubage;
            private String displayStatus;
            private String startDepartName;
            private String sendDate;
            private int batchBillId;
            private boolean isSelect;
            private String saomiaonum="1";//默认为1

            public String getSaomiaonum() {
                return saomiaonum;
            }

            public void setSaomiaonum(String saomiaonum) {
                this.saomiaonum = saomiaonum;
            }

            public boolean isSelect() {
                return isSelect;
            }

            public void setSelect(boolean select) {
                isSelect = select;
            }

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public String getHdbh() {
                return hdbh;
            }

            public void setHdbh(String hdbh) {
                this.hdbh = hdbh;
            }

            public String getBillDate() {
                return billDate;
            }

            public void setBillDate(String billDate) {
                this.billDate = billDate;
            }

            public String getGoodsName() {
                return goodsName;
            }

            public void setGoodsName(String goodsName) {
                this.goodsName = goodsName;
            }

            public String getShipper() {
                return shipper;
            }

            public void setShipper(String shipper) {
                this.shipper = shipper;
            }

            public String getShipperPhone() {
                return shipperPhone;
            }

            public void setShipperPhone(String shipperPhone) {
                this.shipperPhone = shipperPhone;
            }

            public String getConsignee() {
                return consignee;
            }

            public void setConsignee(String consignee) {
                this.consignee = consignee;
            }

            public String getConsigneePhone() {
                return consigneePhone;
            }

            public void setConsigneePhone(String consigneePhone) {
                this.consigneePhone = consigneePhone;
            }

            public String getPack() {
                return pack;
            }

            public void setPack(String pack) {
                this.pack = pack;
            }

            public int getNumbers() {
                return numbers;
            }

            public void setNumbers(int numbers) {
                this.numbers = numbers;
            }

            public String getBalanceMethod() {
                return balanceMethod;
            }

            public void setBalanceMethod(String balanceMethod) {
                this.balanceMethod = balanceMethod;
            }

            public Double getTransportCost() {
                return transportCost;
            }

            public void setTransportCost(Double transportCost) {
                this.transportCost = transportCost;
            }

            public Double getGoodsCost() {
                return goodsCost;
            }

            public void setGoodsCost(Double goodsCost) {
                this.goodsCost = goodsCost;
            }

            public Double getWeight() {
                return weight;
            }

            public void setWeight(Double weight) {
                this.weight = weight;
            }

            public Double getCubage() {
                return cubage;
            }

            public void setCubage(Double cubage) {
                this.cubage = cubage;
            }

            public String getDisplayStatus() {
                return displayStatus;
            }

            public void setDisplayStatus(String displayStatus) {
                this.displayStatus = displayStatus;
            }

            public String getStartDepartName() {
                return startDepartName;
            }

            public void setStartDepartName(String startDepartName) {
                this.startDepartName = startDepartName;
            }

            public String getSendDate() {
                return sendDate;
            }

            public void setSendDate(String sendDate) {
                this.sendDate = sendDate;
            }

            public int getBatchBillId() {
                return batchBillId;
            }

            public void setBatchBillId(int batchBillId) {
                this.batchBillId = batchBillId;
            }
        }
    }
}
